package com.example.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @author circle48
 */
@Data
public class DiscountDetailDTO {
    private Long itemId;
    private BigDecimal originalPrice;
    private BigDecimal discountAmount;
    private BigDecimal finalPrice;
    private Integer quantity; // 添加商品数量
    @JsonFormat(shape =JsonFormat.Shape.STRING )
    private List<Long> usedCouponIds = new ArrayList<>();
}
